/**
 * [define]
 * @type {Array}
 */
var weekData = ["星期日", "星期一","星期二","星期三","星期四","星期五","星期六"];
/**
 * [Completion date]
 * @return {[type]} [description]
 */
exports.two = function(str){
    return (str+'').length === 1 ? '0' + str : str;
}
exports.getFullTime = function(date){
	var that = exports;
	return {
        year  : date.getFullYear(),
        month : that.two(date.getMonth() + 1),
        week  : weekData[date.getDay()],
        day   : that.two(date.getDate()),
        hour  : that.two(date.getHours()),
        minute: that.two(date.getMinutes()),
        second: that.two(date.getSeconds())
    }
}
